package com.thwj.project.biz.enums;

public enum MerchantTagEnum {

    // 停车信息
    fufeitingche(MerchantTagTypeEnum.TagPark,100,"付费停车"),
    mianfeitingceh(MerchantTagTypeEnum.TagPark,101,"免费停车"),
    changsuotigongtignchefuwu(MerchantTagTypeEnum.TagPark,102,"提供停车服务"),

    // 付款方式
    xianjin(MerchantTagTypeEnum.PayWay,200,"现金"),
    weixin(MerchantTagTypeEnum.PayWay,201,"微信"),
    zhifubao(MerchantTagTypeEnum.PayWay,202,"支付宝"),
    yunshanfu(MerchantTagTypeEnum.PayWay,203,"云闪付"),
    xinyongka(MerchantTagTypeEnum.PayWay,204,"信用卡"),
    huabei(MerchantTagTypeEnum.PayWay,205,"花呗"),

    // 宠物
    kexiedaichongwu(MerchantTagTypeEnum.Pet,300,"可携带宠物"),
    buyunxuxiedaichongwu(MerchantTagTypeEnum.Pet,301,"不允许携带宠物"),

    // 基础服务
    kekaifapiao(MerchantTagTypeEnum.BasicService,400,"可开发票"),
    canyinfuwu(MerchantTagTypeEnum.BasicService,401,"餐饮服务"),
    mianfeishuiguo(MerchantTagTypeEnum.BasicService,402,"免费水果"),
    jicunjiushui(MerchantTagTypeEnum.BasicService,403,"寄存酒水"),
    younuanqi(MerchantTagTypeEnum.BasicService,404,"有暖气"),
    zhaopianchongxi(MerchantTagTypeEnum.BasicService,405,"照片冲洗"),
    MIANFEIWIFI(MerchantTagTypeEnum.BasicService,406,"免费WIFI"),
    MIANFEIDIANXIN(MerchantTagTypeEnum.BasicService,407,"免费点心"),
    mianfeitianpin(MerchantTagTypeEnum.BasicService,408,"免费甜品"),
    chongdianbao(MerchantTagTypeEnum.BasicService,409,"充电宝"),
    chongdianqi(MerchantTagTypeEnum.BasicService,410,"充电器"),
    mianfeikuangquanshui(MerchantTagTypeEnum.BasicService,411,"免费矿泉水"),
    mianfeiyinpin(MerchantTagTypeEnum.BasicService,412,"免费饮品"),
    keshiyongbingkuai(MerchantTagTypeEnum.BasicService,413,"可食用冰块"),

    // 环境信息
    dulibaoxiang(MerchantTagTypeEnum.EnvironmentalInformation,500,"独立包厢"),
    youxiyanqu(MerchantTagTypeEnum.EnvironmentalInformation,501,"有吸烟区"),
    youwuyanqu(MerchantTagTypeEnum.EnvironmentalInformation,502,"有无烟区"),
    youshafawei(MerchantTagTypeEnum.EnvironmentalInformation,503,"有沙发位"),
    youkazuo(MerchantTagTypeEnum.EnvironmentalInformation,504,"有卡座"),
    jiangjing(MerchantTagTypeEnum.EnvironmentalInformation,505,"江景"),
    hujing(MerchantTagTypeEnum.EnvironmentalInformation,506,"湖景"),
    haijing(MerchantTagTypeEnum.EnvironmentalInformation,507,"海景"),
    shanjing(MerchantTagTypeEnum.EnvironmentalInformation,508,"山景"),
    youguangjingwei(MerchantTagTypeEnum.EnvironmentalInformation,509,"有光景位"),

    // 娱乐设施
    touyingyi(MerchantTagTypeEnum.EntertainmentFacilities,600,"投影仪"),
    zhuoqiu(MerchantTagTypeEnum.EntertainmentFacilities,601,"桌球"),
    sheji(MerchantTagTypeEnum.EntertainmentFacilities,602,"射击"),
    youxiji(MerchantTagTypeEnum.EntertainmentFacilities,603,"游戏机"),
    jiejiyouxi(MerchantTagTypeEnum.EntertainmentFacilities,604,"街机游戏"),
    majiangji(MerchantTagTypeEnum.EntertainmentFacilities,605,"麻将机"),
    Switch(MerchantTagTypeEnum.EntertainmentFacilities,606,"Switch"),
    PS4(MerchantTagTypeEnum.EntertainmentFacilities,607,"PS4"),
    PS5(MerchantTagTypeEnum.EntertainmentFacilities,608,"PS5"),
    diannao(MerchantTagTypeEnum.EntertainmentFacilities,609,"电脑"),
    ktv(MerchantTagTypeEnum.EntertainmentFacilities,610,"KTV"),
    jianshenzhongxin(MerchantTagTypeEnum.EntertainmentFacilities,611,"健身中心"),
    youyongchi(MerchantTagTypeEnum.EntertainmentFacilities,612,"游泳池"),
    sangna(MerchantTagTypeEnum.EntertainmentFacilities,613,"桑拿"),
    SPA(MerchantTagTypeEnum.EntertainmentFacilities,614,"SPA"),
    zhuoyou(MerchantTagTypeEnum.EntertainmentFacilities,615,"桌游"),
    ertongleyuanqu(MerchantTagTypeEnum.EntertainmentFacilities,616,"儿童乐园区"),
    wuchi(MerchantTagTypeEnum.EntertainmentFacilities,617,"舞池"),
    wawaji(MerchantTagTypeEnum.EntertainmentFacilities,618,"娃娃机"),
    Xbox(MerchantTagTypeEnum.EntertainmentFacilities,619,"X-box"),
    shaokaojia(MerchantTagTypeEnum.EntertainmentFacilities,620,"烧烤架"),
    zhangpeng(MerchantTagTypeEnum.EntertainmentFacilities,621,"帐篷"),
    kashilu(MerchantTagTypeEnum.EntertainmentFacilities,622,"卡式炉"),
    kaopan(MerchantTagTypeEnum.EntertainmentFacilities,623,"烤盘"),
    huoguo(MerchantTagTypeEnum.EntertainmentFacilities,624,"火锅"),
    lutiandianying(MerchantTagTypeEnum.EntertainmentFacilities,625,"露天电影"),
    xiangji(MerchantTagTypeEnum.EntertainmentFacilities,626,"相机"),
    ;

    private Integer value;
    private String name;
    private MerchantTagTypeEnum typeEnum;

    MerchantTagEnum(MerchantTagTypeEnum typeEnum,Integer value, String name){
        this.value = value;
        this.name = name;
        this.typeEnum = typeEnum;
    }

    public Integer getValue() {
        return value;
    }
    public String getName() {
        return name;
    }
    public MerchantTagTypeEnum getTypeEnum() {
        return typeEnum;
    }


    public static MerchantTagEnum getMerchantTagEnumByValue(Integer value) {

        for (MerchantTagEnum merchantTagEnum : MerchantTagEnum.values()) {
            if (merchantTagEnum.getValue().intValue() == value.intValue()) {
                return merchantTagEnum;
            }
        }
        return null;
    }
}
